<!-- $Id: brand_list.htm 15898 2009-05-04 07:25:41Z liuhui $ -->

{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<!-- 品牌搜索 -->
{include file="goods_inquiry_search.htm"}
<form method="post" action="" name="listForm">
<!-- start brand list -->
<div class="list-div" id="listDiv">
{/if}
  <table cellpadding="3" cellspacing="1">
    <tr>
      <th>商品名称</th>
      <th width="8%">国家</th>
      <th width="8%">品牌</th>
      <th width="8%">规格</th>
      <th width="8%">型号</th>
      <th width="8%">订货码</th>
      <th width="8%">物料类型</th>
      <th width="5%">历史不税价</th>
      <th width="5%">报价时间</th> 
      <th width="8%">添加人</th> 
      <th width="10%">操作</th>            
    </tr>
    {foreach from=$entityList item=cur}
    <tr>
	<td align="left">{$cur.goods_name|escape:html}</td>
	<td align="left">{$cur.nation|escape:html}</td>
	<td align="left">{$cur.brand_name|escape:html}</td>
	<td align="left">{$cur.specification|escape:html}</td>
	<td align="left">{$cur.model|escape:html}</td>
	<td align="left">{$cur.order_code|escape:html}</td>
	<td align="left">{$cur.materials_type|escape:html}</td>
	<td align="right">{$cur.no_tax_price|escape:html}</td>
	<td align="left" nowrap="nowrap">{$cur.update_time}</td>
	<td align="left" nowrap="nowrap">{$cur.add_username}</td>	
	<td align="center" nowrap="nowrap">
	<a href="goods_inquiry.php?act=goods_inquiry_list_edit&id={$cur.id}" title="询价"> 询价 </a> |
	<a href="javascript:;" onclick="listTable.remove({$cur.id}, '{$lang.drop_tip}', 'goods_inquiry_list_delete')" title="{$lang.remove}">{$lang.remove}</a> 			
		
	</td>
	
    </tr> 
    {foreachelse}
    <tr><td class="no-records" colspan="11">{$lang.no_records}</td></tr>
    {/foreach}  
     <tr>
      <td align="right" nowrap="true" colspan="11">
      {include file="page.htm"}
      </td>
    </tr>
  </table>

{if $full_page}
<!-- end brand list -->
</div>
</form>

<script type="text/javascript" language="javascript">
  <!--
  listTable.recordCount = {$record_count};
  listTable.pageCount = {$page_count};
  
  {if $history_query eq 'history_query'}
	listTable.filter['history_query'] = 'history_query';
  {else if $history_query eq 'goods_inquiry_list'}
	listTable.filter['history_query'] = 'goods_inquiry_list';		
  {/if} 

  {foreach from=$filter item=item key=key}
  listTable.filter.{$key} = '{$item}';
  {/foreach}

  {literal}
  onload = function()
  {
      // 开始检查订单
      startCheckOrder();
  }
  {/literal}
  //-->
</script>
{include file="pagefooter.htm"}
{/if}
